home *** CD-ROM | disk | FTP | other *** search
/ Family Forum 262 / SOMC Family Forum 262.iso / somc.dir / 00144_Up Arrow.ls < prev    next >
Encoding:
Text File  |  1999-03-23  |  557 b   |  30 lines

  1. on mouseEnter
  2.   if not count(the windowList) then
  3.     doRollover(nothing, 2)
  4.   end if
  5. end
  6.  
  7. on mouseLeave
  8.   if not count(the windowList) then
  9.     doRollout()
  10.   end if
  11. end
  12.  
  13. on mouseDown
  14.   global LINECOUNTER, TEXTDISPLAY
  15.   glow(26, 1)
  16.   updateStage()
  17.   set TEXTDISPLAY to the name of the member of sprite (the clickOn - 2)
  18.   repeat while the mouseDown
  19.     if LINECOUNTER <> 0 then
  20.       scrollByLine(member TEXTDISPLAY, -1)
  21.       set LINECOUNTER to LINECOUNTER - 1
  22.       timedelay(0.10000000000000001)
  23.     end if
  24.   end repeat
  25. end
  26.  
  27. on mouseUp
  28.   glow(26, 0)
  29. end
  30.